package com.tansun.easycare.rule.rulegroup.model;

import java.util.List;

import lombok.Data;


public class RuleSetExpressVO {
	private  int   seq;
	private  String  leftOpt;
	private  String  rightOpt;
	private  String  logicOpt;	
	private  List<RuleExpessVO>  conditions;
	
	private  List<RuleExpessVO>  action;

	public int getSeq() {
		return seq;
	}

	public void setSeq(int seq) {
		this.seq = seq;
	}

	public String getLeftOpt() {
		if (leftOpt == null) {
			return  "";
		}
		return leftOpt;
	}

	public void setLeftOpt(String leftOpt) {
		this.leftOpt = leftOpt;
	}

	public String getRightOpt() {
		if (rightOpt == null) {
			return  "";
		}
		return rightOpt;
	}

	public void setRightOpt(String rightOpt) {
		this.rightOpt = rightOpt;
	}

	public String getLogicOpt() {
		if (logicOpt == null) {
			return "";
		}
		return logicOpt;
	}

	public void setLogicOpt(String logicOpt) {
		this.logicOpt = logicOpt;
	}

	public List<RuleExpessVO> getConditions() {
		return conditions;
	}

	public void setConditions(List<RuleExpessVO> conditions) {
		this.conditions = conditions;
	}

	public List<RuleExpessVO> getAction() {
		return action;
	}

	public void setAction(List<RuleExpessVO> action) {
		this.action = action;
	}
	
	

}
